import React from 'react';

import { withRouter } from 'react-router-dom';

function NotRight({ history }) {
  return (
    <div>
      <h1> Right。。。</h1>
      <button
        onClick={() => {
          history.go(-1);
        }}
      >
        返回上一页
      </button>
    </div>
  );
}

export default withRouter(NotRight);
